<template>
  <div>
   

   <van-list
        :finished="finished"
        finished-text="没有更多了"
        @load="onLoad"
        >
        <UserPage2List 
        v-for="item in list"
        :key="item.musicId"
        :ItuserId="item.userId" 
        :ItuserName="item.userName" 
        :ItuserIcon="item.userIcon">
        </UserPage2List>
    </van-list>

    <tu></tu>

  </div>
</template>

<script>
import UserPage2List from '@/views/User/UserInfo/UserPage2List.vue'
import FollowAPI from '@/api/FollowAPI'
import Tu from '@/views/Music/home/tu.vue'

export default {
  name: 'MyFollow',
  components:{
    UserPage2List,
    Tu,
  },

  data() {
    return {
      list: [],
    }
  },


  created(){
    var result = FollowAPI.MyFollowList()
      // 获取响应结果 
      result.then((val)=>{
        if(val.success){
          this.list=val.data   
        }else{
          console.log(val.errorMsg)
          this.$toast(val.errorMsg)
        }
            })
    

  },

  methods: {
    
  },

}
</script>

<style>

</style>